package zhihuilan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("my_factory_fav")
public class MyFactoryFav {
    @TableId("id")
    private Integer id;
    private Integer factoryid;
    private Integer staffid;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date addtime;
    private Integer shopid;
    private Integer type;
    private Integer shopmemberid;
    private Integer favStaffid;

}
